package pl.edu.agh.mgr.hotel.ws.data;

import java.util.HashSet;
import java.util.Set;

import pl.edu.agh.mgr.hotel.entities.Hotel;
import pl.edu.agh.mgr.hotel.entities.ServiceDescription;

public class DataResponse {
	private String name = "";
	private Hotel hotel;
	private Set<ServiceDescription> servicesDescriptions = new HashSet<ServiceDescription>();

	public DataResponse() {
	}

	public DataResponse(String name, Hotel hotel,
			Set<ServiceDescription> servicesDescriptions) {
		this.name = name;
		this.hotel = hotel;
		this.servicesDescriptions = servicesDescriptions;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Hotel getHotel() {
		return hotel;
	}

	public void setHotel(Hotel hotel) {
		this.hotel = hotel;
	}

	public Set<ServiceDescription> getServicesDescriptions() {
		return servicesDescriptions;
	}

	public void setServicesDescriptions(
			Set<ServiceDescription> servicesDescriptions) {
		this.servicesDescriptions = servicesDescriptions;
	}

	public void addServiceDescription(ServiceDescription serviceDescription) {
		servicesDescriptions.add(serviceDescription);
	}

}
